import request from '@/utils/request';

// 获取所有请求的列表
export  const getList=({page,limit})=>request.get(`/admin/product/baseTrademark/${page}/${limit}`)
//添加
export const add=(trademark)=>request.post('/admin/product/baseTrademark/save',trademark)
//修改
export function update(trademark){
    return request.put('/admin/product/baseTrademark/update',trademark)
}
//删除
export function del(id){
    return request.delete(`/admin/product/baseTrademark/remove/${id}`)
}
//GET /admin/product/baseTrademark/getTrademarkList
export function getTrademarkList(){
    return request.get('/admin/product/baseTrademark/getTrademarkList')
}

